<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<h2 v-text="message+'!'"></h2>
			<!-- 用v-text message会替换掉h2中的所有属性 -->
			<!-- <h2>{{message+"!"}}Vue</h2> -->
		</div>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
		<script>
			var app = new Vue({
				el:'#app',
				data:{
					message:"hello",
				}
			})
		</script>
	</body>
</html>
